nuxeo-liveconnect-2021.49.2.jar /OSGI-INF/liveconnect-googledrive-config.xml
<extension point="providers" target="org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderRegistry">
<provider>
<name>googledrive</name>
<description>Google Drive</description>
<class>org.nuxeo.ecm.liveconnect.google.drive.GoogleOAuth2ServiceProvider</class>
<tokenServerURL>https://accounts.google.com/o/oauth2/token</tokenServerURL>
<authorizationServerURL>https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force</authorizationServerURL>
<scope>https://www.googleapis.com/auth/drive</scope>
<scope>https://www.googleapis.com/auth/drive.apps.readonly</scope>
<scope>email</scope>
<clientId/>
</provider>
</extension>